﻿@using TSites.Administrator.Models;
@using TSites.Common.Const;

@model TSites.Administrator.Models.ChangePasswordViewModel
@{
    ViewBag.Title = "Change Password";
	AdminSession adminSession = (AdminSession)Session[StringConst.USER_SESSION];
}

<fieldset>
	<legend>Change password</legend>
	UserId:		@adminSession.UserId
	Username:	@adminSession.Username
	Email:		@adminSession.Email
	Last logon:	@adminSession.LastestLogon
	
	<p>
		@Html.LabelFor(m => m.CurrentPassword)
		@Html.TextBoxFor(m => m.CurrentPassword)
	</p>
	<p>
		@Html.LabelFor(m => m.NewPassword)
		@Html.TextBoxFor(m => m.NewPassword)
	</p>
	<p>
		@Html.LabelFor(m => m.ConfirmPassword)
		@Html.TextBoxFor(m => m.ConfirmPassword)
	</p>
	<input type="submit" value="OK" />
	<input type="reset" value="Reset" />
</fieldset>